package com.xuedakun.xasdk.net.volley;

import java.io.Serializable;

/**
 * Created by xuedakun on 2017/6/3 15:26
 * http请求返回数据主体基类
 *
 * @version : v1.0
 * @project : xasdk
 * @Email : dakun611@Gmail.com
 */

public class BaseResult implements Serializable {

    /**
     * 返回码
     */
    private int requestCode;

    /**
     * 返回数据的json字符串
     */
    private String json;


    public int getRequestCode() {
        return requestCode;
    }

    public void setRequestCode(int requestCode) {
        this.requestCode = requestCode;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }

    public BaseResult(int code, String json) {
        this.requestCode = code;
        this.json = json;
    }

    public BaseResult() {

    }
}
